package com.cw.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @program: MySyetem
 * @description: 员工实体类
 * @author: 张庆恒
 * @create: 2021-08-27 19:55
 **/
@Data
@TableName("staff")
public class Staff implements Serializable {
    @TableId(value = "id")
    private Integer id;
    private Integer staffid;
    private String staffname;
    private String password;
    private String idcard;
    private String address;
    private String phone;

    private Date entrytime;
    private Date leavetime;
    private Integer state;
    private Integer roleid;
    private Integer deptid;
    private String url;
    private Integer branchid;
}
